package one.stand.mapper;

import one.stand.model.RoyaltyRecordModel;

import java.util.List;
import java.util.Map;

public interface RoyaltyRecordMapper {
    int deleteByPrimaryKey(Integer recordId);

    int insertSelective(RoyaltyRecordModel record);

    RoyaltyRecordModel selectByPrimaryKey(Integer recordId);

    int updateByPrimaryKeySelective(RoyaltyRecordModel record);

    List<RoyaltyRecordModel> select(RoyaltyRecordModel record);

    Integer selectAllMoney(RoyaltyRecordModel record);

    Map<String, Object> getRoyaltyData(RoyaltyRecordModel record);

    List<RoyaltyRecordModel> selectRoyaltyRankList(RoyaltyRecordModel record);
}